package prototype.persistence.hibernate;

import prototype.persistence.DAOFactory;
import prototype.persistence.MapDAO;
import prototype.persistence.ScenarioDAO;
import prototype.persistence.GoalDAO;
import prototype.persistence.PositionDAO;
import prototype.persistence.UserDAO;
import prototype.persistence.UserHasUnitDAO;
import prototype.persistence.UnitDAO;

/**
 * Generated at Sun Jan 03 13:49:53 EET 2010
 *
 * @see http://www.hibernate.org/43.html
 * @author Salto-db Generator v1.0.16 / Pojos + Hibernate mapping + Generic DAO
 */
public class HibernateDAOFactory extends DAOFactory {

	/* (non-Javadoc)
	 * @see prototype.persistence.DAOFactory#buildMapDAO()
	 */
	@Override
	public MapDAO buildMapDAO() {
		return new MapHibernateDAO();
	}
	
	/* (non-Javadoc)
	 * @see prototype.persistence.DAOFactory#buildScenarioDAO()
	 */
	@Override
	public ScenarioDAO buildScenarioDAO() {
		return new ScenarioHibernateDAO();
	}
	
	/* (non-Javadoc)
	 * @see prototype.persistence.DAOFactory#buildGoalDAO()
	 */
	@Override
	public GoalDAO buildGoalDAO() {
		return new GoalHibernateDAO();
	}
	
	/* (non-Javadoc)
	 * @see prototype.persistence.DAOFactory#buildPositionDAO()
	 */
	@Override
	public PositionDAO buildPositionDAO() {
		return new PositionHibernateDAO();
	}
	
	/* (non-Javadoc)
	 * @see prototype.persistence.DAOFactory#buildUserDAO()
	 */
	@Override
	public UserDAO buildUserDAO() {
		return new UserHibernateDAO();
	}
	
	/* (non-Javadoc)
	 * @see prototype.persistence.DAOFactory#buildUserHasUnitDAO()
	 */
	@Override
	public UserHasUnitDAO buildUserHasUnitDAO() {
		return new UserHasUnitHibernateDAO();
	}
	
	/* (non-Javadoc)
	 * @see prototype.persistence.DAOFactory#buildUnitDAO()
	 */
	@Override
	public UnitDAO buildUnitDAO() {
		return new UnitHibernateDAO();
	}
	
}
